T
- The type contained in the publisherP
- The publisherpublic static final class MultipartBodyBuilder.PublisherEntity<T,P extends <any>> extends HttpEntity<P>
HttpEntity
for use with a
Publisher
-based body, for which we also need to keep track of
the element type.Modifier and Type | Field and Description |
---|---|
private ResolvableType |
resolvableType |
EMPTY
Modifier | Constructor and Description |
---|---|
private |
PublisherEntity(MultiValueMap<java.lang.String,java.lang.String> headers,
P publisher,
ResolvableType resolvableType) |
Modifier and Type | Method and Description |
---|---|
ResolvableType |
getResolvableType()
Return the element type for the
Publisher body. |
equals, getBody, getHeaders, hasBody, hashCode, toString
private final ResolvableType resolvableType
private PublisherEntity(@Nullable MultiValueMap<java.lang.String,java.lang.String> headers, P publisher, ResolvableType resolvableType)
public ResolvableType getResolvableType()
Publisher
body.